Name | Description | |
---|---|---|
CollectionBase<T> Constructor | Overloaded. |
The following tables list the members exposed by CollectionBase<T>.
Name | Description | |
---|---|---|
CollectionBase<T> Constructor | Overloaded. |
Name | Description | |
---|---|---|
Capacity | Gets or sets the number of elements that the System.Collections.CollectionBase can contain. (Inherited from System.Collections.CollectionBase) | |
Count | Gets the number of elements contained in the System.Collections.CollectionBase instance. This property cannot be overridden. (Inherited from System.Collections.CollectionBase) | |
Item | Gets or sets the T at the specified index in the collection. |
Name | Description | |
---|---|---|
InnerList | Gets an System.Collections.ArrayList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
List | Gets an System.Collections.IList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) |
Name | Description | |
---|---|---|
Add | Adds the specified T to the collection. | |
AddRange | Overloaded. Copies the elements of the specified array to the end of the collection. | |
Clear | Removes all objects from the System.Collections.CollectionBase instance. This method cannot be overridden. (Inherited from System.Collections.CollectionBase) | |
Contains | Gets a value that indicates whether the collection contains the specified T. | |
CopyTo | Copies the collection objects to a one-dimensional System.Array instance beginning at the specified index. | |
DefaultPredicate<TTarget> | Represents a default predicate. | |
Exists | Overloaded. Determines whether the List contains elements that match the conditions defined by the specified predicate. | |
Find | Overloaded. Searches for a T that matches the specified type TTarget, and returns the first occurrence within the entire collection. | |
FindAll | Overloaded. Retrieves all the T that match the specified type TTarget. | |
FindIndex | Overloaded. Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire List. | |
FindLast | Overloaded. Searches for an T that matches the specified type TTarget and matches the conditions defined by the specified predicate, and returns the last occurrence within the entire collection. | |
FindLastIndex | Overloaded. Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire List. | |
GetEnumerator | Returns an enumerator that iterates through the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) | |
IndexOf | Gets the index in the collection of the specified T, if it exists in the collection. | |
Insert | Inserts the specified T into the collection at the specified index. | |
Remove | Removes the specified T from the collection. | |
RemoveAt | Removes the element at the specified index of the System.Collections.CollectionBase instance. This method is not overridable. (Inherited from System.Collections.CollectionBase) |
Name | Description | |
---|---|---|
InnerAddRange | Copies the elements of the specified array to the end of the collection. | |
OnAddRange | Performs additional custom processes before inserting a new element array into the System.Collections.CollectionBase instance. | |
OnAddRangeComplete | Performs additional custom processes after inserting a new element array into the System.Collections.CollectionBase instance. | |
OnClear | Overridden. Performs additional custom processes when clearing the contents of the System.Collections.CollectionBase instance. | |
OnClearComplete | Overridden. Performs additional custom processes after clearing the contents of the System.Collections.CollectionBase instance. | |
OnCollectionChanged | Raises the CollectionChanged event. | |
OnCollectionChanging | Raises the CollectionChanging event. | |
OnInsert | Overridden. Performs additional custom processes before inserting a new element into the System.Collections.CollectionBase instance. | |
OnInsertComplete | Overridden. Performs additional custom processes after inserting a new element into the System.Collections.CollectionBase instance. | |
OnRemove | Overridden. Performs additional custom processes when removing an element from the System.Collections.CollectionBase instance. | |
OnRemoveComplete | Overridden. Performs additional custom processes after removing an element from the System.Collections.CollectionBase instance. | |
OnSet | Overridden. Performs additional custom processes before setting a value in the System.Collections.CollectionBase instance. | |
OnSetComplete | Overridden. Performs additional custom processes after setting a value in the System.Collections.CollectionBase instance. | |
OnValidate | Overridden. Performs additional custom processes when validating a value. |
Name | Description | |
---|---|---|
CollectionChanged | A System.ComponentModel.CollectionChangeEventHandler object that indicates the handler of the CollectionChanged event. | |
CollectionChanging | A System.ComponentModel.CollectionChangeEventHandler object that indicates the handler of CollectionChanging event. |